wit icon indicating copy to clipboard operation
wit copied to clipboard

Working apps stopped working with Bad auth error response for token (400 bad request)

Open mohammad-melhem opened this issue 5 years ago • 54 comments

Do you want to request a feature, report a bug, or ask a question about wit? bug

What is the current behavior? API calling is not working and we get the following error on apps that were working normally for a while:

  • HTTP resp status: 400 Bad request
  • Response body: { "error": "Bad auth, check token/params", "code": "no-auth" }

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. calling the same API with the same server token that has been working for a long while suddenly returns the above error.

What is the expected behavior? Should work normally without generating a new token.

If applicable, what is the App ID where you are experiencing this issue? If you do not provide this, we cannot help. Multiple apps.

Note: seems other issues also relate to the same cause, so it looks that it might be on platform level.

Thanks for your cooperation in advance.

mohammad-melhem avatar Oct 28 '21 11:10 mohammad-melhem

Same problem to us with App ID 2115985458480186.

ghost avatar Oct 28 '21 11:10 ghost

We have the same problem (App ID: 2654426877976507).

DegtiarDmitro avatar Oct 28 '21 13:10 DegtiarDmitro

I also Same Problem

Santhosh3006 avatar Oct 28 '21 14:10 Santhosh3006

+1 with a multitude of apps... so far more than 15 of the ones we manage Regenerating the Server Token fixes the issue

sebastianarena avatar Oct 28 '21 18:10 sebastianarena

We're having the same issue and UI doesn't open so we're not able to reset the tokens APP ID 204584064787119

91ns avatar Oct 28 '21 20:10 91ns

I confirm both that I encountered the same problem, and that I solved it by refreshing my token. So I seem to understand that all existing tokens have been revoked, looking forward for the team to explain us if something went wrong.

francescor93 avatar Oct 28 '21 23:10 francescor93

Same problem for me as well

mohansr03 avatar Oct 29 '21 01:10 mohansr03

We have the same problem (App ID: 275869200134768). We have the same problem (App ID: 482075939147009).

465730396 avatar Oct 29 '21 02:10 465730396

anybody fix it?

465730396 avatar Oct 29 '21 03:10 465730396

I have the same problem. App ID: 383297309768429

zoirs avatar Oct 29 '21 06:10 zoirs

Same problem guys. Many of our enterprise clients depend on Wit. Please do fix this as soon as possible

abhilashmurthy avatar Oct 29 '21 06:10 abhilashmurthy

we have the same issue. App 2841817995840539

thanks

sophiexr avatar Oct 29 '21 07:10 sophiexr

HHello, We have the same problem, App ID is 1450216708378959, getting error: Bad auth, check token/params" code: "no-auth"

admin-pulsar avatar Oct 29 '21 07:10 admin-pulsar

Same code problem: "no-auth" here, I can't access my application area. Does not load https://wit.ai/apps

Romerito007 avatar Oct 29 '21 11:10 Romerito007

A quick comment as the problem seems to affect more and more apps, so as others suggested before, the current fix is to regenerate the access token from the app settings (if you are able to access the app settings through UI, cause unfortunately, it looks like some apps are not accessible through the website as well).

mohammad-melhem avatar Oct 29 '21 11:10 mohammad-melhem

Regenerate access token doesn't help, We tried it but no result :(

admin-pulsar avatar Oct 29 '21 12:10 admin-pulsar

mmm that's weird .. I've tried it with many apps and tested with postman using the newly regenerated token and it worked, so I updated the token in my server apps and they started working normally again. Well, hope they get to fix/explain very soon since even using a regenerated token is not working for some apps.

mohammad-melhem avatar Oct 29 '21 12:10 mohammad-melhem

Same code problem: "no-auth" here, I can't access my application area. Does not load https://wit.ai/apps

I solved my access by creating a new account, logging in with my facebook it loaded all my applications I generate a new token, now everything works

Romerito007 avatar Oct 29 '21 13:10 Romerito007

Thanks for all the reports. We're investigating the issue.

lycai-fb avatar Oct 29 '21 16:10 lycai-fb

Hi all, Regenerating server token and changing your call sites to use the new token appears to work for most cases. For those who are unable to access their app page or have tried regenerating and still doesn't work, could you provide your App IDs please?

lycai-fb avatar Oct 29 '21 20:10 lycai-fb