i try to render a very simple scene using VBO and glDrawElements(), but nothing is rendered to the viewport (it stays black). Instead i receive an error Message in this "powertools console ?" saying

glBufferData error 502 ( GL_INVALID_OPERATION )

Does anyone now what the cause of this error is? Or what does it mean? I guess i did something wrong when loading data into the buffers using glBufferData() or when reserving the buffers with glGenBuffers(), but i cant find anything wrong.

Thank you very much!