Medium applications for api access no longer available to free users? - medium.com-publishing-api

I've created a medium application for API access a while ago, and I've been using it to connect medium accounts to my website and let them publish stories from my website. But it stopped working recently, and I can't access my app anywhere. I should mention that my medium account isn't premium, so I've been thinking that's the problem. The thing is I can't find any info anywhere about medium preventing free users from creating apps. This is where I've managed my apps in the past: Link, but now I get 403. Does anyone have any info about this?
edit: What I forgot to say is, when I try to connect my account, I receive the access/refresh token, but then when I try the "https://api.medium.com/v1/me" endpoint I get
{
"errors": [
{
"message": "Application not found",
"code": 6005
}
]
}

Related

Primitive Technical Error (141) when querying the flight_destinations endpoint

I'm a student creating a demo app using your test API, and am getting the following error when querying the flight destination API (eg. https://test.api.amadeus.com/v1/shopping/flight-destinations?origin=PAR&maxPrice=200)
I don't get any error when querying the same location using the flight offers search API, so it's not an issue with my key/secret, and the location is definitely included in the limited test API dataset.
I'm using the ruby gem (https://github.com/amadeus4dev/amadeus-ruby) but faced the same issue testing the API on postman.
Any help appreciated!
{
"errors": [
{
"status": 500,
"code": 141,
"title": "SYSTEM ERROR HAS OCCURRED",
"detail": "Primitive technical error"
}
]
}
I was having the same issue with the flight-deals endpoint. I submitted a request to Amadeus support and got the following reply:
Unfortunately we are currently having some issues with this API in the test environment. Our technical team is currently looking for a solution, in the meantime if you need to use this endpoint, please move your app to the production environment where the API will work as expected....in this environment you will receive a free amount of transactions each month just like in test
I did try going over to a production environment and I'm not getting technical errors (500's) any more. It does require signing up for payment in case you go beyond the free tier of request volumes. Not clear when they will have the test environment up and running.

Microsoft Graph API - General Exception during fetching Sites/root and drives

I created standalone application on node.js authorized in AAD with client/secret with permissions to access groups, sites, directories. I managed to create Teams group and team by Microsoft Graph API but when I tried to fetch sites/root or drives
https://graph.microsoft.com/v1.0/groups/{groupId}/sites/root
https://graph.microsoft.com/v1.0/groups/{groupId}/drive
I received 500 Internal Server Error:
{
"error": {
"code": "generalException",
"message": "An unspecified error has occurred.",
"innerError": {
"request-id": (....),
"date": "2020-01-31T09:15:17"
}
}
}
Is access to sites and drives possible by Graph API with app token?
the error is causing by using "Group.Create","Group.ReadWrite.All" together
Yes it is possible. One possibility here is that if you are attempting to access the drive or site right after creating the team, they may not be provisioned yet. There is some delay that can happen, typically only a few minutes at most.
When you register your Azure Active Directory App, which supported account type are you choosing?
I had exactly the same issue as you, but I've created a new Azure AD App and changed the supported Account type back to the first option and all worked accordingly.
I hope this could help your issue.
Thank you.

Youtube Content Partner API access problems

I'm having problem with the youtube partner api.
I have written an application that correctly establishes an oauth connection between myself and previously authorised Content Manager page and can view my associated channels, create and manage assets etc.
I have a colleague from a different organisation with a separate content manager account that manages around 20 separate channels. They can use the app to successfully complete the oauth flow. However when we try and iterate their channel listings they receive the following error:
Google_Service_Exception: { "error": { "errors": [ { "domain": "youtube.common", "reason": "cmsUserAccountNotFound", "message": "The CMS user is not allowed to act on behalf of the specified content owner." } ], "code": 403, "message": "The CMS user is not allowed to act on behalf of the specified content owner." }
If they add my account as an administrator of the Content Manager account, I can however see their pages. They have permission to manage all pages under the account (and are the administrator)
My question is:
Is this because they don't have permission to use the API (although they have authorised the App that has requested permissions)?
If we create a service account and add it to their Content Manager account and change the oauth flow to this, will this resolve the issue?
...Or is there something else I'm missing?
Many thanks in advance for advice.

microsoft-graph - Error: ResourceNotFound - Message: Resource could not be discovered

I've created a web app with Microsoft Graph API and it has been completed/tested and everything is working as expected. This web app is aimed to create calendar events for our Office 365 users. Right now there are a total of 9 users that calendar events are created for and two of them are having issues.
This is the specific response I get from Microsoft Graph API if I'm creating a calendar event for a user that is having issues:
Message:
{
"error": {
"code": "ResourceNotFound",
"message": "Resource could not be discovered.",
"innerError": {
"request-id": "4d6efba0-fce2-4abe-9f60-be3df8b55d6f",
"date": "2018-08-29T15:26:58"
}
}
}
I know that everything I'm doing is correct as the other seven users have no issues so the issue must be with the office 365 account its self. I've looked into account settings/permissions and everything I've checked is identical to a user that is working.
One of the biggest issues I'm facing with this problem is I don't understand the error its self. When it says "ResourceNotFound" my guess is that it's saying that it can't find the user account even though it does exist.
My question is what should be the next steps be in order to find a resolution? Should I see if I can recreate the mailboxes and transfer the email from the broken account to a new account? Or should I continue to try to find the root problem?

Rails FB GRAPH image not displaying

I'm working on Rails app using Facebook Graph everything was working fine and then suddenly images stop loading for user_pages, i debug and found the following error,
{
"error": {
"message": "The 'manage_pages' permission must be granted before impersonating a user's page.",
"type": "OAuthException",
"code": 190
}
}
Any idea why it start happening. Please see attached screen-shot
Thanks
30th April was the last date when Facebook stopped supporting older versions of the App. I am not 100% sure but it seems you need to go to your developer account and submit a review request for your app with additional permissions.
It seems you missed the news on Facebook's API upgrade - just like me. More information here: https://developers.facebook.com/docs/apps/api-v1-deprecation and https://developers.facebook.com/blog/post/2015/04/28/april-30-migration/

Resources