abhiraj
Intern
Intern
  • UID6676
  • Fans0
  • Follows0
  • Posts2
Reads:340Replies:3

[Ask for help]The bill file created successfully in oss bucket But with empty data. can you please help us with th

Created#
More Posted time:Jul 17, 2019 16:28 PM
I have created the OSS bucket in the Singapore region and call the SubscribeBillToOSS API for both BillingItemDetail and InstanceDetail. The bill file created successfully But with empty data.

roura
Assistant Engineer
Assistant Engineer
  • UID5629
  • Fans4
  • Follows2
  • Posts39
1st Reply#
Posted time:Jul 22, 2019 17:24 PM
Hi abhiraj!
I have a bit of experience with that, can you post here how are you calling that API endpoint? If by CLI, Node SDK, Python SDK... Also if you can provide the code you are using for it would be great, as I can review and see potential errors.
https://cirrusaudit.com

Jag
Jag
Intern
Intern
  • UID6348
  • Fans0
  • Follows0
  • Posts7
2nd Reply#
Posted time:Jul 22, 2019 19:21 PM
Hi Abhiraj,

Please validate that -
* file has right access for reading. Use File > Authorize.
* for accounts: select from following options RAM, Other, and anonymous. Try with Anonymous and see if you can see file contents.
* also check Authorised Operation - Read, RW, Any or is it to deny.

afzaalvirgoboy
Intern
Intern
  • UID6091
  • Fans0
  • Follows0
  • Posts16
3rd Reply#
Posted time:Jul 23, 2019 4:52 AM
Hi Abhiraj, I believe since the OSS bucket is created as well the file, the issue is somewhere in the source of the content. If you are using the SDK to have the bill generated can you please share the code (or the steps that you have taken) to work this through.



Last but not least, you need to check the overall explanation of the subscription here. There are 2 comments that you need to look into, first of all you need to make sure that you have authorized the code against, "AliyunConsumeDump2OSSRole". Secondly, it does speak of a delay in the overall process, but since I have not yet experience the delays in the billing I cannot speak more on this. Although do share the code/steps and we will walk you through.
Guest