SSD1306 allocation problem

@yashgaya, your topic was moved to a more suitable location on the forum.

Can you please spend some time rading How to get the best out of this forum, next edit your post and apply code tags as descrived to your code.

I hope that the API key in your code is not thereal one; if it is, just change it while applying the code tags.

Which board are you using?