LanceMcCarthy / MvpApi

An application for Microsoft MVPs to easily browse and upload contributions
MIT License
36 stars 10 forks source link

API Error #76

Closed LanceMcCarthy closed 5 years ago

LanceMcCarthy commented 5 years ago

Any requests to the API are resulting in errors. The initial error message appears as

Method: Object reference not s

I suspect this is a Null Reference Error from JSON deserialization of an API error message that doesn't contain a valid HTTP error code. Alternatively, it could be a new schema that doesn't deserilaize property, and the error is from Json.NET Deserialize() exception.

I will update this thread with the full error details after debugging further.

Note: This is also apparently happening to other API apps (James Croft's), they may have changed the schema. The API portal may have an updated swagger definition.

LanceMcCarthy commented 5 years ago

Work being performed on https://github.com/LanceMcCarthy/MvpApi/tree/issue-76-work

LanceMcCarthy commented 5 years ago

Update on API Status and MVP Companion's API usage (i.e. checking for API Key Abuse).

API Endpoint Operations look good:

image

Region Access and Health Looks good

image

LanceMcCarthy commented 5 years ago

Problem Confirmed

The API is returning 404 error for endpoints. It looks like they changed the URL for the APIs endpoints.

The route used to be

mvpapi.azure-api.net/mvp/api/profile

now it's

mvpapi.azure-api.net/api/profile

I'm pushing out an update as soon as I rebuild and pass the Unit Tests.

Thank you for your patience and understanding while I work on getting things back up and running.

LanceMcCarthy commented 5 years ago

This has been fixed, but there remains one problem with POST Contribution. Please follow #77 for details.