Based on this forum post, it looks like expired test portal may cause this error. However, in order for me to further dig into this, could you share with me the following:
1. The exact endpoint you are using
2. Are you using hapikey/OAuth?
3. The portal ID in question that you're sending the request to
Based on this forum post, it looks like expired test portal may cause this error. However, in order for me to further dig into this, could you share with me the following:
1. The exact endpoint you are using
2. Are you using hapikey/OAuth?
3. The portal ID in question that you're sending the request to
In order to answer your first question, I'll have to check in with our internal team to ensure that I'm not missing any use case that may cause the bad hub error.
If that's the only cause of it, it would be a yes for the second question.
While we ain't able to provide a 100% confirmation on all the cases that may cause the `BAD HUB` error, for the most part:
That error could be thrown in a situation where the Hub ID provided is invalid for use in that request for some reason, such as being inactive/deleted Hub, missing hubId param, conflicting auth information, etc. Making sure that the hub in the request is valid and active is a good start.
Having said that, if you're seeing this error in which you're certain that the Hub exists, we'd be happy to look into it. Otherwise, this should only pop up when the Hub ID doesn't exist.
As I've tested agian today it finally produced the BAD_HUB status, it turns out a freshly deleted portal produced BAD_SCOPE at first which sparked the confusion, this clarifies my issue.