The LinkedIn API encountered an error when attempting to retrieve historical follower data, resulting in a HTTP

I've scoured the depths of the internet in search of a solution to my problem, but none seem to fit what I need.

My goal is to retrieve historical follower data from LinkedIn's API using this call: ${companyId}/historical-follow-statistics?time-granularity=day&start-timestamp=${from}&end-timestamp=${to}&format=json in my Node/Express application. I made sure my headers are set like this: Authorization: Bearer 'mytoken' (obtained through an OAuth2 login).

However, every time I make the request, I receive this error code:

{
"errorCode": 0,
"message": "Internal service error",
"requestId": "22BM2KPRXF",
"status": 500,
"timestamp": 1489395675897
}

I have no trouble accessing other endpoints.

I believe I'm following the documentation accurately:

So my question remains: What am I missing here? Is there an issue with that specific endpoint?

Answer №1

After extensive testing, I discovered that the majority of endpoints on the test company are non-operational except for the "get followers" endpoint. However, all functionalities seem to be working fine on the correct company. LinkedIn, this issue needs your immediate attention as it has consumed a significant amount of my time trying to troubleshoot.

Answer №2

When the HTTP response code 500 (Internal Server Error) appears, it indicates that there is an undisclosed issue within LinkedIn's service.

You can reasonably infer that there is a problem with the endpoint in their service. In these situations, I recommend reaching out to the developers through any ticket services provided by LinkedIn. Typically, the issue should be resolved within a few hours or days if it is affecting many users.

If the problem originates from your code, you would likely receive an error code beginning with 4, such as 401 Unauthorized, 403 Forbidden, or 400 Bad Request. This all assumes adherence to general REST/HTTP standards, which I believe LinkedIn follows.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Experience the dynamic synergy of React and typescript combined, harnessing

I am currently utilizing ReactJS with TypeScript. I have been attempting to incorporate a CDN script inside one of my components. Both index.html and .tsx component // .tsx file const handleScript = () => { // There seems to be an issue as the pr ...

I've been attempting to relocate a CSS element at my command using a button, but my previous attempts using offset and onclick were unsuccessful

I am trying to dynamically move CSS items based on user input or button clicks. Specifically, I want to increment the position of elements by a specified number of pixels or a percentage of pixels. Currently, I am able to set the starting positions (top a ...

Angular - Strategies for Handling Observables within a Component

I am new to Angular and recently started learning how to manage state centrally using ngRx. However, I am facing a challenge as I have never used an Observable before. In my code, I have a cart that holds an array of objects. My goal is to iterate over the ...

Oops! An error occurred: fs.readFileSync is not a valid function to perform the Basic

I'm facing a dilemma - I have a relatively simple app (I'm still new to Node): App.js import * as RNFS from 'react-native-fs'; var config_full; // readFile(filepath: string, encoding?: string) RNFS.readFile('./config.toml', ...

Guide to summing the values in an input box with TypeScript

https://i.stack.imgur.com/ezzVQ.png I am trying to calculate the total value of apple, orange, and mango and display it. Below is the code I have attempted: <div class="row col-12 " ngModelGroup="cntMap"> <div class="form-group col-6"> ...

Measuring the variable size of an array containing objects of a given class

Recently, I created a basic code/userscript to receive notifications about any changes on a specific website: function notifier(){ setTimeout(function () { location.reload(true); },60000) } function notiCounter() { console.log("Cou ...

Avoid nesting ternary expressions when possible - consider alternative solutions

I am currently working on a React component that has 4 different states: advisoryResults, results, noResults, and newAccount. While I initially thought about using a ternary expression for this, it turns out that it is not allowed in this case. Can you su ...

VS Code PowerShell communicates in this manner

An error occurred while trying to run the command SET NODE_ENV=development nodemon server.js. The system returned the message: Set-Variable : A positional parameter cannot be found that accepts argument 'server.js'. At line:1 char:1 Error messag ...

What is the process for displaying or hiding a large image when clicking on thumbnail images?

How can I toggle the display of a large image by clicking on thumbnails? This is what I am looking for: Check out this JSFiddle version http://jsfiddle.net/jitendravyas/Qhdaz/ If not possible with just CSS, then a jQuery solution is acceptable. Is it o ...

Use npm to include a new dependency from the current dependency structure

I am currently working on a Vue application that utilizes both vuetable-2 and vue-axios. In my app.js file, I have the following imports: import Vue from 'vue' import VueMaterial from 'vue-material' import axios from 'axios' ...

Error caused by the shouldDisableDate prop in MUI DatePicker's functionality

<Controller name="toDate" control={control} defaultValue={null} render={({ field }) => ( <DatePicker format="DD/MM/yyyy" value={field.value} onChange={(e) => { setToDate(e); field.onC ...

How can I modify the dot colors on a graph using chart.js?

Need assistance with changing the color of graph data points https://i.sstatic.net/QGJBv.png Here is my JavaScript code snippet I have successfully created a graph using chart.js. However, I now want to differentiate data points by displaying different c ...

Is it possible to accept a number in string format in the request body?

I have a specific API spec that outlines the parameter account_id as being a string within the request body. If a request is received with a value for this field either as a number or even a boolean, such as: "account_id": 1234567890 or "account_id": t ...

Jquery auto-suggest form validator

I have implemented a search dropdown menu using jQuery. Everything is working fine, and the 'not match' message displays properly when entering data that does not match any items. However, if I select an item from the dropdown and then modify it ...

Linking Java objects with Node.js variables

In this snippet of code, I am utilizing the 'java' module in node.js to create Java objects. Specifically, I am creating four Java objects and aiming to consolidate them as a single object by using the variable 'args' to store these Jav ...

Leveraging the power of AJAX for sending post requests in a Node.js Express application with

I have a newsletter section on my website that collects name and email information. I want users to be able to submit the form without reloading or redirecting the page, saving their data in MongoDB for future use in sending newsletters. It would also be c ...

Executing jQuery after the body has finished loading

I'm trying to execute a JavaScript function once the body has finished loading. My framework loads the header and footer from static files, while the body content is dynamic. I read online that I should place the $(elem).load(function()) at the end of ...

Exploring the world of WCF applications and service libraries

After watching some videos, I noticed they mentioned endpoints in WCF RESTful services. I'm a bit confused about the distinction between base address and endpoints. Can someone clarify this for me? Why is it necessary to declare URLs in the Contract ...

Issue with this.setState() not updating value despite not being related to asynchronous updates

Just a quick note, this specific question does not involve any asynchronous update problem (at least, as far as I can tell). I currently have a class component with the following code snippet (simplified for clarity on the main issue): constructor(props ...

The clingy navigation bar hinders smooth scrolling to the content

My website has an image where users can click on elements to scroll down to text. However, I'm facing a problem because there is a sticky menu at the top of my website. How can I ensure that the scrolling works correctly with the sticky menu included? ...