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
iamwsumit
(Sumit Kumar)
December 24, 2020, 2:31am
#2
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?
iamwsumit
(Sumit Kumar)
December 24, 2020, 2:54pm
#4
You can do 2 things to stop the error
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
Rogerio_Rios
(Professional Support)
December 24, 2020, 4:12pm
#6
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.
Rogerio_Rios
(Professional Support)
December 24, 2020, 7:09pm
#8
It looks like your response content is coming with HTML. Review your blocks. …
I used worldtimeapi.org
The response is in json
Rogerio_Rios
(Professional Support)
December 24, 2020, 7:14pm
#10
Onuorah_Ifeanyi:
response is in json
At that moment, it seems not …
I noticed something unusual now.
If i click the link of the api, it loads this.
Do you think worldtimeapi expires over time?
Rogerio_Rios
(Professional Support)
December 24, 2020, 7:16pm
#13
If i click your own local time. It loads the json, but when I click mine, it loads that previous screenshot I sent you.
Rogerio_Rios
(Professional Support)
December 24, 2020, 7:20pm
#16
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.
Rogerio_Rios
(Professional Support)
December 24, 2020, 7:24pm
#18
Did You check with my Location in your app ?
Did You check Response Content ?
system
(system)
Closed
January 23, 2021, 7:28pm
#20
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.