Your code works perfectly if you actually have all the needed data in the Broker database. The only cases in which the code does not work properly are when: you do not have the correct configuration for your webservice or when you don't have the PageMeta in the Broker database (check the PAGE table for rows with PUBLICATION_ID=20 and ITEM_REFERENCE_ID=1397) or when you don't have the PageContent in the Broker database (check the PAGE_CONTENT table for rows with PUBLICATION_ID=20 and PAGE_ID=1397).
The simplest test that you can do is to try to access the entry yourself by going in your browser to '.../odata.svc/PageContents(PageId=1397,PublicationId=20)'. If this URL does not work then you need to set the OData Webservice logging to DEBUG (check logback.xml) and to search for ERROR messages related to pages/queries.
Hope this helps.