Why am I getting a 500 internal error when updating indexableText?

pinoyyid

I have a file (which happens to have no content) on Drive, and I'm trying to update its indexableText. Sadly, instead of a happy smiling 200, I'm getting a sad face 500.

Request ...

PUT https://www.googleapis.com/drive/v2/files/0Bw3h_yCVtXbbTndiNFFkLUEwWlk?useContentAsIndexableText=false&key={YOUR_API_KEY}

Content-Type:  application/json
Authorization:  Bearer ya29.AHES6ZQcOn0zqZoxM_4Wrpj00xPIb2BuDjAai0qLUnE6-JVdxMUsDg
X-JavaScript-User-Agent:  Google APIs Explorer

{
 "indexableText": {
  "text": "foofoo barbar"
 }
}

Response...

500 Internal Server Error

- Show headers -

{
 "error": {
  "errors": [
   {
    "domain": "global",
    "reason": "internalError",
    "message": "Internal Error"
   }
  ],
  "code": 500,
  "message": "Internal Error"
 }
}
pinoyyid

It looks like the internal error is being triggered because when I initially inserted the file, useContentAsIndexableText=true. I guess Drive doesn't like the idea that a file's contentAsIndexable state can ever change.

Having got past that, I'm now hitting Update file seems to not be able to update indexableText

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Why am I getting a 500 Internal Error with a PHP file?

From Dev

why am i getting http error code 500 when i am sending a rest request

From Dev

Why i am getting Server error 500 when i upload my app to server

From Dev

I am getting 500 error on git clone

From Dev

Why am I getting an error when I populating a custom listview?

From Dev

Why am I getting this error

From Dev

Why am I getting an opencv error with size of images when they are as expected?

From Dev

Why am I getting an error when calling a webservice function?

From Dev

Why am I getting an error in Prolog when trying out conc?

From Dev

Why am I getting a NoSuchBucket 404 error when forwarding www?

From Dev

Why am I getting an error when assigning tokens to a channel?

From Dev

Why am I getting an error when trying to append HTML in AngularJS?

From Dev

Why am I getting the following error when compiling this assembly?

From Dev

Why Am I Getting A Type Error When Running This Function?

From Dev

Why am I getting an error when creating Spring Beans in JHipster?

From Dev

Why am I getting this error message when searching for a library?

From Dev

Why I am getting $parse error when use it on object with array?

From Dev

why am I getting an error when trying to generate rsa 128

From Dev

Why am I getting 500 errors when serving web font files in my CSS?

From Dev

Why am I getting "Internal Server Error" running two Odoo instances (same domain but different ports)?

From Dev

Why am I getting an error when I try to print the contents of a file I am searching for?

From Dev

why am I getting Exec format error when I am writing my linux service?

From Dev

Why am I getting this error message when I am using NSTimer to run function every x seconds?

From Dev

Why am I getting an error when I am trying to insert a while loop?

From Dev

Magento: Getting 500 internal server error when creating invoices

From Dev

Getting 500 internal server error when passing Json to MVC controller

From Dev

Ajax getting 500 internal error

From Dev

getting 500 internal server error?

From Dev

Ajax getting 500 internal error

Related Related

  1. 1

    Why am I getting a 500 Internal Error with a PHP file?

  2. 2

    why am i getting http error code 500 when i am sending a rest request

  3. 3

    Why i am getting Server error 500 when i upload my app to server

  4. 4

    I am getting 500 error on git clone

  5. 5

    Why am I getting an error when I populating a custom listview?

  6. 6

    Why am I getting this error

  7. 7

    Why am I getting an opencv error with size of images when they are as expected?

  8. 8

    Why am I getting an error when calling a webservice function?

  9. 9

    Why am I getting an error in Prolog when trying out conc?

  10. 10

    Why am I getting a NoSuchBucket 404 error when forwarding www?

  11. 11

    Why am I getting an error when assigning tokens to a channel?

  12. 12

    Why am I getting an error when trying to append HTML in AngularJS?

  13. 13

    Why am I getting the following error when compiling this assembly?

  14. 14

    Why Am I Getting A Type Error When Running This Function?

  15. 15

    Why am I getting an error when creating Spring Beans in JHipster?

  16. 16

    Why am I getting this error message when searching for a library?

  17. 17

    Why I am getting $parse error when use it on object with array?

  18. 18

    why am I getting an error when trying to generate rsa 128

  19. 19

    Why am I getting 500 errors when serving web font files in my CSS?

  20. 20

    Why am I getting "Internal Server Error" running two Odoo instances (same domain but different ports)?

  21. 21

    Why am I getting an error when I try to print the contents of a file I am searching for?

  22. 22

    why am I getting Exec format error when I am writing my linux service?

  23. 23

    Why am I getting this error message when I am using NSTimer to run function every x seconds?

  24. 24

    Why am I getting an error when I am trying to insert a while loop?

  25. 25

    Magento: Getting 500 internal server error when creating invoices

  26. 26

    Getting 500 internal server error when passing Json to MVC controller

  27. 27

    Ajax getting 500 internal error

  28. 28

    getting 500 internal server error?

  29. 29

    Ajax getting 500 internal error

HotTag

Archive