503 Service Unavailable error in linkedin api - linkedin

We have used https://api.linkedin.com/v2/industries api to get industries details but this api getting failed and returns status code as 503
note : random linkedin api returns status code as 503.
like -
https://api.linkedin.com/v2/organizations
https://api.linkedin.com/v2/organizationalEntityFollowerStatistics
https://api.linkedin.com/v2/organizationPageStatistics
I have used Access Token, and this error occurred last 24 Hrs only.

Related

Drupal 9 AJAX HTTP error occurred.\nHTTP Result Code: 500\nDebugging information follows.\nPath: /media-library

AJAX HTTP error occurred.\nHTTP Result Code: 500\nDebugging information follows.\nPath: /media-library?media_library_opener_id=media_library.opener.field_widget&media_library_allowed_types%5Bbanner%5D=banner&media_library_selected_type=banner&media_library_remaining=1&media_library_opener_parameters%5Bfield_widget_id%5D=field_news_banner&media_library_opener_parameters%5Bentity_type_id%5D=node&media_library_opener_parameters%5Bbundle%5D=news_media&media_library_opener_parameters%5Bfield_name%5D=field_news_banner&hash=1PGiwFHNHWGJ19ALC5FzYZjxWdwL3ABWacGzXYh_LDg&ajax_form=1\nStatusText: 500 Service unavailable (with message)\nResponseText: The website encountered an unexpected error. Please try again later."
name

LinkedIn Access Token Being Used

I've successfully secured my access token for the LinkedIn API. However, when I try to use it to gather user information (currently just my own so I know that the profile has all public settings) using this code:
requestURL = 'https://api.linkedin.com/v2/people/(id:{my_linkedin_id})'
headers = {'Authorization': 'Bearer' + ' ' + access_token}
a = requests.get(requestURL,headers=headers)
could someone elaborate on any steps I might be messing?
When I run this code I keep getting a
<Response [404]>
You have 404 as response and in LinkedIn documentation you can see that:
404 Resource Not Found
This error occurs when your application tries to call an API or fetch
an entity that does not exist. For example, the API to get a friend’s
profile is /v2/people/id={personId}, not /v2/person/id={personId}. In
some cases (Ads, for example), a 404 error is returned when attempting
to access a restricted API. See 403 Access Denied and contact your
partner technical support channel if you continue to see the error.
I think you need too check if your link to resource is good.

Linkedin - Sharing entity is not authorized to perform this action

We are publishing linkedin shares via v2/shares endpoint and for 1 profile we are receiving following error:
status: 401
message: "Sharing entity is not authorized to perform this action: null"
https://learn.microsoft.com/en-us/linkedin/marketing/integrations/community-management/shares/share-api
We are obtaining the token for this request with following scope
['r_liteprofile', 'mgw_w_media', 'rw_organization']
(which is working fine for other profiles).
Can you explain what exactly the error means? The microsoft.com/* page I pasted above says the token is not strong enough. But the token is obtained with the same code which is working for dozens of other LI profiles.
I will appreciate any insight on this. Thanks.

Internal Server Error Message in LinkedIn API

In last few days everyone is facing Internal server error on company status update via LinkedIn API (docs).
Sample response with request Id:
{"requestId":"P8T2EIBBT7","errorCode":0,"message":"Internal service error","status":500,"timestamp":1517889931789}}
{"requestId":"XNNMPVUFA4","errorCode":0,"message":"Internal service error","status":500,"timestamp":1517877007035}}
What could the cause be?

Drupal CMIS Alfresco-link issue

I am getting the following error when I try to update or add contents to alfresco via drupal.
Notice: Undefined index: workspace://SpacesStore/2e3ea968-07ec-48c8-8295-80bfbef554d6 in CMISService->getLink() (line 421 of /home/drupal/myra/sites/all/modules/contrib/cmis/cmis_common/lib/cmis_repository_wrapper.php).
HTTP call to [http://myra-dev-repo.bmi.utah.edu:80/alfresco/service/cmis/s/workspace:SpacesStore/i/2e3ea968-07ec-48c8-8295-80bfbef554d6/content] returned [500]. Response: Web Script Status 500 - Internal Error Web Script Status 500 - Internal Error The Web Script /alfresco/service/cmis/s/workspace:SpacesStore/i/2e3ea968-07ec-48c8-8295-80bfbef554d6/content has responded with a status of 500 - Internal Error. 500 Description: An error inside the HTTP server which prevented it from fulfilling the request. Message:11212017 Failed to execute transaction-level behaviour
I understand that the problem is with the getLink() method which is returning an index of the workspace where the data needs to be saved.But I am unable to figure out where the change has to be made.Moreover this is a new error that has popped up recently.I remember not changing/updating anything : - ( drupal or alfresco setup) that was working just fine.
Please let me know what is going wrong.Thanks.
This problem arises only if the permissions are messed up within the server.So proper attention needs to be paid to, when the content is edited/added/modified etc

Resources