•   over 6 years ago

Does the API even work anymore?

Sometimes I wonder whether the team building this API even runs tests... Sorry to be blunt but there are 38 days left and this API seems to be nowhere near stable.

I have created 3 apps now, subscription, ongoing requests, etc, none of which are working. All I can get now is an access_token which is useless. I either get a 401 or a 403 when using that access_token. I used to be able to get EUI data...all I see now is "This request requires HTTP authentication ()." This was also in the response header:

WWW-Authenticate:
Bearer realm="commerce", error="invalid_token", error_description="Token signature not validated"

Another thing is noticed, when I perform the OAuth process, after logging in as a test user, I get this error "An error occurred while loading application setup. Please try again later.".

Can someone PLEASE let me know when this is fixed? Also our app is very dependent on being notified of new data so getting "CreateSubscription" working would be ideal.

Here is a link to a sample request I am making for EUI data:

https://snap.apigee.com/1bzGLoS

  • 13 comments

  •   •   over 6 years ago

    I know GetEui works and as far as I remember we figured out that Subscription doesn't. Unfortunately the support team is not very responsive to fix bugs so I wouldn't count on fixing Subscription but it is just my opinion.

    The response states that your access_token is invalid. I would dig in that direction.

  •   •   over 6 years ago

    Thanks for letting me know. Its just weird, again i just created a new app, registered it with the data custodian and then performed the OAuth request to get the token. When i go to "Setup Application Access" on the third party site, it tells me, "This application already has required token to access Data Custodian.", so how is it possible that I keep getting a 401 unauthorized?

  •   •   over 6 years ago

    You shouldn't consider tolens from Third party app and your app to be the same, they are NOT. When your app requests token the data custodian sends it to YOUR app and third party app on portal doesn't know anything about it. I had this question posted earlier in this forum. My app gets token, uses it and gets data but if I go to third party it tells that I am not authorized.

  •   •   over 6 years ago

    It seems like what ur saying is true but what i'm trying to get at is that something broke recently. If you are using an app that you created a while back, it probably still works. However if you create a new app, register it with the data custodian and get the access_token for a particular user, you will see that that access_token fails to work and will return a 401 unauthorized.

    I have done this for Ad-hoc, ongoing requests and subscription apps, none of which works. I believe the problem lies in the fact that users cannot Authorize an app at the moment.

  •   •   over 6 years ago

    You are right. I setup application in third party site, got token but when I try to RequestEui from it I get 401. You will have to wait what support says or use any old app you had. You can also try to email to support, may be they will act faster (support@challengepost.com)

  •   •   over 6 years ago

    The data custodian and third party sites are completely out of sync. I see some apps on third party site and want to unregister them completely but I cannot see them on data custodian web site. And vice versa, I see my new app on data custodian site but when I want to setup application acces I don't see it on third party.

  • Manager   •   over 6 years ago

    Hello,

    Just want to confirm we have noted and are trying to resolve the issues you've raised.

    Thank you,

    Lindsay

  •   •   over 6 years ago

    Hi Lindsay, has there any thought in extending the deadline? I think that some of the issues that have been highlighted impede the core development of many apps. I think that, to best ensure equity, an extension may be granted so that developers who are not able to access the proper functionality of the API may have adequate time to develop and test their app; and that the extension should be announced early so that early submitters have the option to take more time to improve their apps if they choose to.

  • Manager   •   over 6 years ago

    Hi there,

    We recognize that there have been challenges associated with the functionality provided by the test lab, and that these may be causing delays for some of our developers. We are working hard to have these issues addressed as soon as possible and are considering all available options to respond with a workable solution. We'll update all challenge participants on the resolution and resources that will be made available.

    Lindsay

  •   •   over 6 years ago

    The GetEUI is not working now. It appears the XML returned is incomplete or incorrect.

    We have spent more time learning to use the API and the Test Lab than developing our application. With this delay at this time, we are running out of time to make a worthwhile application for the contest.

  •   •   over 6 years ago

    Nothing works right now :-( I cannot even get my Authorization status correctly

  • Manager   •   over 6 years ago

    Hi there,

    Sorry for the delay. I have heard from Affinity that the subscription issue has been fixed. Please note that any access tokens generated previously (with another public key) should be refreshed to prevent inconsistencies.

    Please let me know if you're still having issues with the service.

    Lindsay

  •   •   over 6 years ago

    I had to authorize again but now it is working

Comments are closed.