getRecordsById not working for fetching from Books custom module

getRecordsById not working for fetching from Books custom module

The custom function I am working on is pretty simple - I need to fetch a record from a custom module in Books. Here is what i am using:

response = zoho.books.getRecordsByID("Countries of Origin",orgID,recordID);
info response;

OR

response = zoho.books.getRecordsByID("cm_shipping_detail",orgID,recordID);
info response;

I keep getting either an error that I am not authorized to access this info (I'm the super admin) or it's java.lang.Object@xxxxxxx as the response.

Can anyone help me figure out what is wrong?

    Zoho Marketing Automation
      Zoho Mail - CRM Integration

              Zoho Pagesense Resources

                Zoho SalesIQ Resources



                      Zoho TeamInbox Resources

                        Zoho DataPrep Resources



                          Zoho CRM Plus Resources

                            Zoho Books Resources


                              Zoho Subscriptions Resources

                                Zoho Desk Resources

                                  Zoho Projects Resources


                                    Zoho Sprints Resources


                                      Qntrl Resources


                                        Zoho Creator Resources


                                          Zoho WorkDrive Resources




                                              Zoho Campaigns Resources

                                                Zoho CRM Resources

                                                        Design. Discuss. Deliver.

                                                        Create visually engaging stories with Zoho Show.

                                                        Get Started Now