# "cuepoints: The input should be a JSON-encoded array"

**URL:** <https://community.postman.com/t/cuepoints-the-input-should-be-a-json-encoded-array/83690>\
**Category:** Help Hub\
**Tags:** variables, json\
**Created:** [August 18, 2025, 1:57pm UTC](https://community.postman.com/t/cuepoints-the-input-should-be-a-json-encoded-array/83690 "2025-08-18T13:57:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![flight-astronomer-29](https://avatars.discourse-cdn.com/v4/letter/f/bbce88/32.png) [@flight-astronomer-29](https://community.postman.com/u/flight-astronomer-29)\
**Post date:** [August 18, 2025, 1:57pm UTC](https://community.postman.com/t/cuepoints-the-input-should-be-a-json-encoded-array/83690/1 "2025-08-18T13:57:46Z")

</div>

I am trying to post cuepoints into a podcast episode through the Spreaker API. I keep getting this error “cuepoints: The input should be a JSON-encoded array”

Here is my json script

{

“cuepoints”: [

```
{

```

“timecode”: 200000,

“type”: “ad\_break”,

“ads\_max\_count”: 3

```
}

```

]

}

Here is my url

[https://api.spreaker.com/v2/episodes/67289348/cuepoints?cuepoints=timecode&cuepoints=ads\_max\_count](https://api.spreaker.com/v2/episodes/67289348/cuepoints?cuepoints=timecode&cuepoints=ads_max_count)

What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![flight-astronomer-29](https://avatars.discourse-cdn.com/v4/letter/f/bbce88/32.png) [@flight-astronomer-29](https://community.postman.com/u/flight-astronomer-29)\
**Post date:** [August 18, 2025, 1:59pm UTC](https://community.postman.com/t/cuepoints-the-input-should-be-a-json-encoded-array/83690/2 "2025-08-18T13:59:10Z")

</div>

It keeps coming back as a 400 bad request error.

---

<div class="post-metadata">

**Author:** ![gbadebo-bello](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/gbadebo-bello/32/12175_2.png) [@gbadebo-bello](https://community.postman.com/u/gbadebo-bello)\
**Post date:** [August 18, 2025, 5:26pm UTC](https://community.postman.com/t/cuepoints-the-input-should-be-a-json-encoded-array/83690/3 "2025-08-18T17:26:00Z")

</div>

Hi @flight-astronomer-29. Welcome to the Postman Community :postman:.

Can you share a screenshot of your request body in Postman?

---

<div class="post-metadata">

**Author:** ![flight-astronomer-29](https://avatars.discourse-cdn.com/v4/letter/f/bbce88/32.png) [@flight-astronomer-29](https://community.postman.com/u/flight-astronomer-29)\
**Post date:** [August 18, 2025, 5:55pm UTC](https://community.postman.com/t/cuepoints-the-input-should-be-a-json-encoded-array/83690/4 "2025-08-18T17:55:52Z")

</div>

I figured it out. Thanks!

---

<div class="post-metadata">

**Author:** ![gbadebo-bello](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/gbadebo-bello/32/12175_2.png) [@gbadebo-bello](https://community.postman.com/u/gbadebo-bello)\
**Post date:** [August 18, 2025, 7:00pm UTC](https://community.postman.com/t/cuepoints-the-input-should-be-a-json-encoded-array/83690/5 "2025-08-18T19:00:28Z")

</div>

Glad to hear you figured it out! Please let me know if you need help with anything else.
