Go Down

Topic: How to upload libraries in Arduino Create / Broken Makeblock lib (Read 2959 times) previous topic - next topic

varkokonyi

Hi! I have the same problem with this file: https://drive.google.com/file/d/1oKTOPt9QMUKlYTGDXxfW-aArqu0VzwA6/view?usp=sharing

When I upload it to the library tab, the error message is: 400 invalid_request: attribute "name" of response is missing and required, attribute: name, parent: response


I made this library to test stuff. I uploaded this library and it worked: https://www.arduino.cc/en/uploads/Main/Test.zip

I couldn't find a big difference when comparing the two. I would appreciate if anyone could point me in the right direction

ballscrewbob

Is that a library you made yourself ?
If not can you supply a link to the original ?


Libraries must be in a specific format.

See this article for more information

It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

varkokonyi

I made this library myself. I have fixed some issues in the meantime, but it still has the same problem. New link: https://drive.google.com/file/d/1kwvjyMe31fJx2tT2B3jbrRsZpiGPRf_O/view?usp=sharing

I have followed that tutorial to create it

ballscrewbob

Something doesnt quite look right but I am not clever enough to see just what it is.

Hopefully somebody with a little more knowledge comes along.


It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

cmaglie

You must put your library in a folder called KBuffer and put that folder in the ZIP file.

In other words your current ZIP folder content is:

KBuffer.cpp
KBuffer.h
keywords.txt

but the needed format is:

KBuffer/KBuffer.cpp
KBuffer/KBuffer.h
KBuffer/keywords.txt

C.


robertriesenman

I am having an issue adding the Grove l2C_LCD library to the arduino IDE (web version).  I get error

LIBRARIES THAT COULD NOT BE IMPORTED:
[] [18CDEj0f] 400 invalid_request: attribute "name" of response is missing and required, attribute: name, parent: response

Is there a manual way to add libraries?  Not sure why this is an issue.  I'm running Windows 7 unfortunately.

ballscrewbob

As mentioned above libs should be laid out in a set structure.

Deviations from that can cause them to fail on most IDE's but especially CREATE.

Attached some extra documentation that might also help.

You might also want to add a link to the original library source.




It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

Go Up