Error]: Quota exceeded for state_item_payload_byte...
# 🤝help
q
it works in testing phase, but on published bot got this error. er yt [Error]: Quota exceeded for state_item_payload_bytes, attempted to use 155660 but maximum is 131072 at Mr (/var/task/customer_code.js:8:27989) at Ot (/var/task/customer_code.js:8:27769) at w (/var/task/customer_code.js:8:67156) at /var/task/customer_code.js:8:63395 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Promise.all (index 7) at async saveAllStates (/var/task/customer_code.js:295:4502) at async saveState (/var/task/customer_code.js:295:7025) at async Object.onEvent (/var/task/customer_code.js:318:8027) at async Object.onMessage (/var/task/customer_code.js:318:7655) { isApiError: true, code: 400, description: 'The request payload is invalid.', type: 'InvalidPayload', error: undefined }

https://cdn.discordapp.com/attachments/1139690529874006108/1139690530515726356/latesterror_12_8_2023.PNG

report id bef248ca-8837-43b6-b477-04536f861bb1
up
still error..
@rich-battery-69172
r
@quiet-raincoat-89190 what is the summary agent context size for the transcript? looks like your state is exceeding our total quotas. things to check: - make sure the summary agent's limits are reasonable (eg. 10-20 messages, 500 tokens is fair) - make sure you are not storing heavy objects or payloads in variables – please use tables or external APIs for larger payloads
q
it's tables choice
let me see
r
I'm adding a task item on our side to make these errors more clear in the future and highlight the large payloads
q
ah k
it can't display this "test2" ,but it's not huge or is it? inside emulator works fine

https://cdn.discordapp.com/attachments/1139690529874006108/1141066740449689630/234242re.PNG

it's nothing huge
r
can you check the summary agent settings?
q
this {{conversation.SummaryAgent.summary}} ?
100 tokens max
r
and nb of turns?
q
10 max lines
r
ok let me check the report
q
I think I exported my template
at that state, hope so
can quick test
r
how can i replicate the issue on the webchat?
q
can type "do you have any mountain property in new mexico" it will trigger mountain intent and go to "Property check" node and than select state, and boom it doesnt work on published
idk if there is on that template mountain intent
check
and type something to trigger intent
than select state
and boom will have error
r
ok thanks checking now
q
for me it's like this

https://cdn.discordapp.com/attachments/1139690529874006108/1141069873796087818/12453435434.PNG

https://cdn.discordapp.com/attachments/1139690529874006108/1141069874068725923/434344e.PNG

r
can you generate a new reportId right after emulating the conversation in the studio please?
q
ok
give me a moment
got this, tried 2 times

https://cdn.discordapp.com/attachments/1139690529874006108/1141071314602430546/23e.PNG

can I export you template?
but ye got zapier url there. dont want public, maybe can direct msg
still error 3rd time
r
yes shoot over DM!
i'll look at the report issue - i think it's because of the tables
q
lol, I can't export 😄

https://cdn.discordapp.com/attachments/1139690529874006108/1141072054905487450/4531e.PNG

I am domed 😄
gonna refresh
ye, still and using chrome browser
lel
r
one sec there's a fix coming for that – the tables can't export
q
k
r
sorry this is taking longer, github webhooks are down and our deployment process needs them https://www.githubstatus.com/incidents/ljhhhw2tplqp
q
it's ok, i got other things to work on. Do you have ETA for dinamyc tables and stuff with it? real estate accuracy for properties is n1 issue atm.
r
we're working on it 🙂 ETA is a few days
q
omg, that's fast, thanks
@rich-battery-69172 sent you dm with video and attached template, plz check, also still cant report problem, got this error.

https://cdn.discordapp.com/attachments/1139690529874006108/1141714146258333706/new_error.PNG

up
r
@quiet-raincoat-89190 thanks and sorry for the slow reply - we have a fix coming for this where it will tell you exactly in the studio which object/payload is too large
Let me send you in DM the fix for now
q
k
24 Views