question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

python client.edit_document failing with any operation requiring section_id

See original GitHub issue

For html:

u"<h1 id='MZNACACqNMj'>Test</h1>\n\n<p id='MZNACAJjo49' class='line'>test</p>\n\n<p id='MZNACAevQlK' class='line'>\u200b</p>\n\n"

client.edit_document(quip_document, '<p>new text</p>', operation=4, section_id=MZNACAJjo49)

is failing with: quip.QuipError: 400: This document does not support updates with the given location type and section_id.

same with any other operation that requires section_id

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
belindagucommented, Aug 8, 2018

No, sorry, it won’t be live until tomorrow around 3-4pm. Apologies for the delay.

0reactions
akskhacommented, Feb 12, 2019

I am still running into this issue.

args::  {'thread_id': 'bfN9AArOUJ5', 'content': '<p>W6</p>', 'location': 4, 'format': 'html', 'section_id': 'bfN9CA9AWRO'}
request::  b'thread_id=bfN9AArOUJ5&content=%3Cp%3EW6%3C%2Fp%3E&location=4&format=html&section_id=bfN9CA9AWRO'

is failing with:

quip.QuipError: 400: This document does not support updates with the given location type and section_id.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Quip Automation API Reference
The Quip Automation API outputs documents as HTML for convenience, and the elements in the HTML have id attributes specifying their internal section...
Read more >
PAM-MGC: Management Console Messages - TechDocs
PAM-MGC-0001 = Failed to determine cluster structure. Service cannot start. Name:{0} PAM-MGC-0002 = Failed to determine any node IP ...
Read more >
Canvas Admin Guide - Amazon S3
API calls require authorization and are made on behalf of an authorized user. For more information on using the Canvas API, view the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found