Using API Endpoint - https://energyhub.atlassian.net/wiki/api/v2/pages/
ERROR:
CALLOUT_RESPONSE [121]|System.HttpResponse[Status=Bad Request, StatusCode=400]
[{"status":400,"code":"INVALID_MESSAGE","title":"Invalid message","detail":null}]}
I am successfully able to load an HTML Table, but I am unable to update the page with a table-filter macro.
Users currently have to copy and paste into a manually added table-filter macro everyday after scheduled push, which is super inconvenient. PLEASE HELP!
JSON STRING
{
"id": "PAGE_ID",
"status": "current",
"title": "PAGE_TITLE",
"body":
{
"representation": "STORAGE",
"value": "
<ac:structured-macro ac:name=\"table-filter\">
<ac:parameter ac:name=\"globalFilter\">true</ac:parameter>
<ac:rich-text-body>
TABLE_HTML
</ac:rich-text-body>
</ac:structured-macro>
"
},
"version":
{
"number": VERSION_NUMBER ,
"message": "CRM_REPORT"
}
}
Hi @lross ,
Can't see anything crucial at the first glance - can you please share the full code of the working and not working variants?
Maybe it will be more convenient to use our support portal that is confidential and where you'll be able to share your data freely.
Also one of our developers paid attention at this part:
"value": "
<ac:structured-macro ac:name=\"table-filter\">
<ac:parameter ac:name=\"globalFilter\">true</ac:parameter>
<ac:rich-text-body>
TABLE_HTML
</ac:rich-text-body>
</ac:structured-macro>
"
Can you try to make this string a one-line string? Maybe it is so in your real code but you've just formatted it in a more easy-to-read way for the Community.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your response, yep I only formatted here so that it was easier to read. I can create a support ticket.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.