python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
cannot consume content type Rest API Response from Amazon Advertising API
I am hitting the /sb/negativeKeywords endpoint and every time I try to make a POST request, I get the following error:
StatusCodeError: 415 - {"code":"415","details":&quo...
NoviceProgrammer
Votes: 0
Answers: 1
Promise.all not waiting to complete the requests
await Promise.all(
endpoints.map((endpoint) =>
this.httpService.get(endpoint).pipe(
map((response) => {
return response.data['result'];
}),
),
),
).then(
axios....
qwerty
Votes: 0
Answers: 3
Getting "undefined is not an object" on a validated array
I'm trying to access an array inside of an object that comes in a response:
getMatches().then((matches) =>{
let possibleDraws = []
console.log(matches)
console.log(typeof matches)
matches.forEach(m...
Paolo Flores
Votes: 0
Answers: 1
How to get pm2 logs as json by exec function?
I'm enclosing my code so you can understand my intent, I want to get the last x lines of logs into res.data in my 'pm2exec' function.
I run the server by the command 'pm2 start...' in the terminal and...
Omri Hadadi
Votes: 0
Answers: 0