2020-06-22 Maintenance of history service

Hello together,

I am running a few upgrades now and have to rerun the history service. The history overview for content items and other entities might be stale for a while.

1 Like

has anything else changed? API request to cloud returns 400 for me now

Yes, the encryption keys have been swapped. If you use an old access token it might fail, but this can happen anytime and is not a bug or so.

But that should result in a 401. Can you post the request you are doing?

I am doing standard request to some content with vuejs (nothing was changed in this area for quite a time)

 await axios({
    url: `${process.env.NUXT_ENV_SQUIDEX_API_URL}/content/....hidden..../posts/`,
    method: 'get',
    headers: {
        'Bearer ' + store.state.apiToken,
      'Content-Type': 'application/json'

Token is valid. Response data value
“message”: “Failed to execute script with javascript syntax error: The value is not an object”,
“traceId”: “|5fa1915b-434312d409e24241.”,
“type”: “https://tools.ietf.org/html/rfc7231#section-6.5.1”,
“details”: [
“The value is not an object”
“statusCode”: 400

Yes, I have made a few small changes for the scripts. Can you send me your scripting setup for your schema?