Bad arguments to lookup in pairs

Continuing the discussion from Bad arguments to lookup in pairs:

the operation lookup in pairs cannot accept the arguments:, [datetime], [<!DOCTYPE], [not found] kodular
This comes out when I try to login in my app.
It has been working correctly for a long time all of a sudden started showing this even though I did not make any changes to the blocks.

Below are my blocks


Please anyone who can help me…I will appreciate so much. Thanks

There is simple answer
The api is not returning time in json text it is returning a !<Doctype so it is unable to find lookups in pair
I also get this error

so please what might be the solution?

You can do 2 things to stop the error

  1. Change your api to another good api that doesn’t return this error
    And 2. Is that hide the error with a condition like this

And do your rest code in then block

thanks so much

Did you read the api manual? It seems that something was missing …

The issue is that it was working perfectly before. I made no change, all of a sudden it started this.

It looks like your response content is coming with HTML. Review your blocks. …

I used worldtimeapi.org
The response is in json

At that moment, it seems not …

I noticed something unusual now.
image
If i click the link of the api, it loads this.

Do you think worldtimeapi expires over time?

Your is ?

http://worldtimeapi.org/api/timezone/xxxx/yyyy ?

My is
http://worldtimeapi.org/api/timezone/America/Sao_Paulo

http://www.worldtimeapi.org/timezone/Africa/Lagos

Africa lagos

If i click your own local time. It loads the json, but when I click mine, it loads that previous screenshot I sent you.

Your It’s work for me…

{“abbreviation”:“WAT”,“client_ip”:“16”,“datetime”:“2020-12-24T20:18:33.510452+01:00”,“day_of_week”:4,“day_of_year”:359,“dst”:false,“dst_from”:null,“dst_offset”:0,“dst_until”:null,“raw_offset”:3600,“timezone”:“Africa/Lagos”,"unixtime

1 Like

Thanks so much for your assistance. I don’t know if this is related to my IP because other timezones load, but once I try loading that particular time, it gives me that.

Did You check with my Location in your app ?

Did You check Response Content ?

Let me do so

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.