I am connecting to the API but when CALL it keeps appearing
Status code 401
{“error”:“unauthenticated”}
I am currently judging that there may be a problem with the authentication
but I don’t know how to set it correctly
Authentication for this API requires a new token to be generated every 3600 seconds
But I can’t get success with the settings of the bubble
Current settings:
API documentation currently in use
As shown below
Please help me and provide a solution
thanks
Hey Waytubjob,
It seems you need to use the access token you get from api-call “token Call” for the api call Domainv2. So just define an Authorization header like the image below for Domainv2. In the workflow use the response from “token Call” as input for Domainv2, something like "Bearer .
Hello gerbertdelangen,
Thank you for your reply, can you be more specific?
I just tried this method,
show
Status code 400 {“success”:false,“message”:“validation.array”}
Or I adjust Domain V2 to the same API link group
Same
Status Code 401 {“error”:“Unauthenticated”}
where is the problem?
I don’t quite understand, this access token is obtained from api-call “token Call”
Bearer tokens change every 3600 seconds
does it matter?
Thanks