all calls return 409 "Failed to authenticate"

Hello, for example i'm doing this simple call GET https://urgentcargus.azure-api.net/api/Countries HTTP/1.1 Ocp-Apim-Subscription-Key: primary_key_from_profile/subscription Host: urgentcargus.azure-api.net Connection: Keep-Alive and i got HTTP/1.1 409 Conflict ..... "\"Failed to authenticate!\"" Do you have any ideas what's wrong. I'm using your C# example code from countries_get (https://urgentcargus.portal.azure-api.net/docs/services/55acb9ae5f80b911a8f59a5f/operations/55acb9ae5f80b914f88a151a) Thank you Mihai

Comments

  •  
    Steps: 1. you have to call first LoginUser_Post to get a token :). Using your username/pass used in UrgentCargus WebExpress 2. with that token set 'Authorization: Bearer TOKEN' for next calls 3. done
    Posted by Hidden Wed, 25 May 2016 09:22:10 GMT
  •  
    hi, i keep receiving the following error message "There is no active user with the provided credential" every time i try to login using the api test interface; Can you please help? Thanks
    Posted by Hidden Mon, 18 Jul 2016 13:54:45 GMT
  •  
    Hi. The same error here. I've tryed to login using the portal "Try" and the PHP example. Pragma: no-cache Cache-Control: no-cache Date: Tue, 29 Nov 2016 05:59:47 GMT Set-Cookie: ********;Path=/;Domain=urgentcargusapi.azurewebsites.net X-AspNet-Version: 4.0.30319 X-Powered-By: ASP.NET Content-Length: 28 Content-Type: application/json; charset=utf-8 Expires: -1 { "Error": "Could not login!" }
    Posted by Hidden Tue, 29 Nov 2016 06:03:07 GMT


You're not signed in. Please sign-in to report an issue or post a comment.