Question

OAU-213 after refresh token when renew subcription

  • 21 July 2020
  • 1 reply
  • 378 views

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.


1 reply

Userlevel 1

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

Reply