question

Boru Admin avatar image
Boru Admin asked ·

OAU-213 after refresh token when renew subcription

I using PHP code to refresh Token before token expires 1 day.

After refresh token, I save new token and new refresh token to Database.

I use this token to renew Webhook Subscription (subcription created via token Auth $platform->auth()->data()) , but this have error:

Array (    [errorCode] => TokenInvalid    [message] => Token not found    [errors] => Array        (            [0] => Array                (                    [errorCode] => OAU-213                    [message] => Token not found                )         ) 
)

This is code:

Please help me check.

refresh access token
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

· Write an Answer
Phong Vu avatar image
Phong Vu answered ·

Can you do a quick test.

1. Use the new access token to read your webhook subscription

2. Use the new access token to delete the existing access token

3. Use the new access token to create a new access token instead of renew the existing one

4. Use the new access token to read the extension info

Let me know which one works and which one does not work

Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.