Trial Account Error

Hi All,

I am facing weird issues with my trail account. The Response Cache Policy is disabled and I could not add it to the proxy. Lookup Cache is not working and if I make management api calls, I receive below response.

HTTP/1.1 404 Not Found
Connection:
keep-alive
Content-Length:
140
Content-Type:
application/json
Date:
Tue, 26 Mar 2019 07:43:24 GMT
Server:
Apigee LB
{
  "code": "organizations.OrganizationDoesNotExist",
  "message": "Organization : {REDACTED}-trail does not exist",
  "contexts": []
}

Please can some one help me on this.

Thanks,

Jai

0 5 173
5 REPLIES 5

Jai, would it be possible for you to share more information about each issue you are having?
1. Response Cache Policy Issue: I checked on a trial organization and I could add Response Cache Policy to an API proxy.

2. Lookup Cache Policy: I could also use Lookup Cache Policy on a trial organization.

3. Management API Call: Can you please share the API resource that you invoked?

Thanks!

Hi @Imesh Gunaratne,

First of all thanks for responding. Please find my answers below:

1) Response Cache Policy Issue:

I am attaching the screenshot below that depicts the issue I am facing. However a friend of mine has helped me to overcome this by editing the xml directly to include Response Cache Policy.

8429-image2.png

2) Lookup Cache Policy Issue:

I have included Lookup cache - Populate cache through below code snippet.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<LookupCache async="false" continueOnError="false" enabled="true" name="Lookup-User-Cache">
    <DisplayName>Lookup User Cache</DisplayName>
    <Properties/>
    <CacheKey>
        <Prefix/>
        <KeyFragment ref="user._id" type="string"/>
        <KeyFragment ref="user.name" type="string"/>
        <KeyFragment ref="user.age" type="string"/>
        <KeyFragment ref="user.location" type="string"/>
    </CacheKey>
    <CacheResource>UsersData</CacheResource>
    <Scope>Exclusive</Scope>
    <AssignTo>userdata</AssignTo>
</LookupCache>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<PopulateCache async="false" continueOnError="false" enabled="true" name="Populate-User-Cache">
    <DisplayName>Populate User Cache</DisplayName>
    <Source>UserDetails</Source>
    <CacheKey>
        <Prefix/>
        <KeyFragment ref="user._id" type="string"/>
        <KeyFragment ref="user.name" type="string"/>
        <KeyFragment ref="user.age" type="string"/>
        <KeyFragment ref="user.location" type="string"/>
    </CacheKey>
    <CacheResource>UsersData</CacheResource>
    <Scope>Exclusive</Scope>
    <ExpirySettings>
        <TimeoutInSec>3600</TimeoutInSec>
    </ExpirySettings>
</PopulateCache>

Not sure what is missing.

3) The management call is https://api.enterprise.apigee.com/v1/organizations/{REDACTED}-trail

Response I get is 403 Forbidden

Apart from this I could see that the flow conditions are reevaluated in the response flow. Please can you help me in understand why it is happening - screenshot below.

8430-image1.png

Thanks!


"message":"Organization : {REDACTED}-trail does not exist",

Jayapal - do you get the same error if you use the correct spelling of trial?

Hi @Christian King,

My bad, thanks for pointing out the typo. Please can you also help me on my other queries?

Regards,

Jayapal

Heya Jaypal,

Ideally it's best to ask one question per thread, because it gets confusing otherwise.

Re 1) I'm not sure on this one. Does the chrome dev tools network tab give you any clues?

Re 2) - Have you created the UsersData cache in the relevant environments?